package defpackage; import com.appsflyer.share.Constants; import java.util.Date; import java.util.Map; import org.apache.commons.httpclient.HttpState; /* renamed from: sjn reason: default package */ public final class sjn { public static void a(clq clq, Map<String, aait> map) { col col = new col(sli.a(clq)); col.startDocument(); col.gl("Properties"); col.M(null, "http://schemas.openxmlformats.org/officeDocument/2006/custom-properties"); col.M("vt", "http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"); int i = 2; for (String str : map.keySet()) { aait aait = map.get(str); int i2 = i + 1; long gWv = aait.gWv(); if (gWv == 11 || gWv == 31 || gWv == 30 || gWv == 3 || gWv == 64) { col.gl("property"); col.J("fmtid", "{D5CDD505-2E9C-101B-9397-08002B2CF9AE}"); col.r(Constants.URL_MEDIA_SOURCE, i); col.J("name", str); long gWv2 = aait.gWv(); if (gWv2 == 11) { col.gl("vt:bool"); if (((Boolean) aait.getValue()).booleanValue()) { col.addText("true"); } else { col.addText(HttpState.PREEMPTIVE_DEFAULT); } col.endElement("vt:bool"); } else if (gWv2 == 31 || gWv2 == 30) { col.gl("vt:lpwstr"); col.addText((String) aait.getValue()); col.endElement("vt:lpwstr"); } else if (gWv2 == 3) { col.gl("vt:i4"); col.mV(((Integer) aait.getValue()).intValue()); col.endElement("vt:i4"); } else if (gWv2 == 64) { col.gl("vt:filetime"); col.addText(cld.a((Date) aait.getValue())); col.endElement("vt:filetime"); } col.endElement("property"); } i = i2; } col.endElement("Properties"); col.endDocument(); } }